package cn.sumpu.app.guoguojie.biz;

import cn.sumpu.app.guoguojie.domain.DoingLove;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;
import cn.sumpu.app.guoguojie.util.PageModel;

public interface DoingLoveBiz {

    public void insertDoingLove(DoingLove doingLove) throws AppBusinessException;

    public void updateDoingLove(DoingLove doingLove) throws AppBusinessException;

    public void deleteDoingLoveById(String id) throws AppBusinessException;

    public DoingLove getDoingLoveById(String id) throws AppBusinessException;

    public String loveMe(DoingLove doingLove) throws AppBusinessException;//喜欢我

    public PageModel getMyDoingLoveList(String family, Integer page) throws AppBusinessException;//我的喜欢

    public Integer getMyLoveCount(String family) throws AppBusinessException;//被喜欢次数统计

    public PageModel loveMeList(String family, Integer page) throws AppBusinessException;//喜欢我的

    public void deleteDoingLoveByFamily(String doingId, String family) throws AppBusinessException;//删除我家喜欢的一条微博

    public int getMyFamilyLoveAmount(String family) throws AppBusinessException;//获取家被喜欢数

    public int getMyLoveDoingCount(String family) throws AppBusinessException;//获取我喜欢别人家的喜欢次数

    public int getMemberCreateLoveCount(String member) throws AppBusinessException;//获取会员产生的喜欢数

    public int getMemberReceiveLoveCount(String member) throws AppBusinessException;//获取会员被喜欢数

}
